package wnhz.com.business.rebateshop.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 2017-11-17.
 */

public class HomeGoodsBean {

    /**
     * re : 1
     * info : {"cate_list":[{"cate_id":"0","classname":"首页"}],"home_cate":[],"goods":[{"goods_id":"5","goods_name":"2","group_price":"0.00","logo_pic":"http://shengyibang.unohacha.com/Uploads/Picture/uploads/20171025/59efef805e3d1.jpg","sales":"0"},{"goods_id":"4","goods_name":"返利商品2","group_price":"0.00","logo_pic":"http://shengyibang.unohacha.com/Uploads/Picture/uploads/20171016/59e483cac3120.jpg","sales":"0"}],"banner":[{"id":"1","pic":"http://shengyibang.unohacha.com/Uploads/Picture/uploads/20171027/59f27d1a6fd7f.png","title":"首页轮播图","url":"","type":"0","isdel":"0","sort":"0","create_at":"1509063963"}]}
     */

    @SerializedName("re")
    private String re;
    @SerializedName("info")
    private InfoBean info;

    public String getRe() {
        return re;
    }

    public void setRe(String re) {
        this.re = re;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public static class InfoBean {
        @SerializedName("cate_list")
        private List<CateListBean> cateList;
        @SerializedName("home_cate")
        private List<?> homeCate;
        @SerializedName("goods")
        private List<GoodsBean> goods;
        @SerializedName("banner")
        private List<BannerBean> banner;

        public List<CateListBean> getCateList() {
            return cateList;
        }

        public void setCateList(List<CateListBean> cateList) {
            this.cateList = cateList;
        }

        public List<?> getHomeCate() {
            return homeCate;
        }

        public void setHomeCate(List<?> homeCate) {
            this.homeCate = homeCate;
        }

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public static class CateListBean {
            /**
             * cate_id : 0
             * classname : 首页
             */

            @SerializedName("cate_id")
            private String cateId;
            @SerializedName("classname")
            private String classname;

            public String getCateId() {
                return cateId;
            }

            public void setCateId(String cateId) {
                this.cateId = cateId;
            }

            public String getClassname() {
                return classname;
            }

            public void setClassname(String classname) {
                this.classname = classname;
            }
        }

        public static class GoodsBean {
            /**
             * goods_id : 5
             * goods_name : 2
             * group_price : 0.00
             * logo_pic : http://shengyibang.unohacha.com/Uploads/Picture/uploads/20171025/59efef805e3d1.jpg
             * sales : 0
             */

            @SerializedName("goods_id")
            private String goodsId;
            @SerializedName("goods_name")
            private String goodsName;
            @SerializedName("group_price")
            private String groupPrice;
            @SerializedName("logo_pic")
            private String logoPic;
            @SerializedName("sales")
            private String sales;

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGroupPrice() {
                return groupPrice;
            }

            public void setGroupPrice(String groupPrice) {
                this.groupPrice = groupPrice;
            }

            public String getLogoPic() {
                return logoPic;
            }

            public void setLogoPic(String logoPic) {
                this.logoPic = logoPic;
            }

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }
        }

        public static class BannerBean {
            /**
             * id : 1
             * pic : http://shengyibang.unohacha.com/Uploads/Picture/uploads/20171027/59f27d1a6fd7f.png
             * title : 首页轮播图
             * url :
             * type : 0
             * isdel : 0
             * sort : 0
             * create_at : 1509063963
             */

            @SerializedName("id")
            private String id;
            @SerializedName("pic")
            private String pic;
            @SerializedName("title")
            private String title;
            @SerializedName("url")
            private String url;
            @SerializedName("type")
            private String type;
            @SerializedName("isdel")
            private String isdel;
            @SerializedName("sort")
            private String sort;
            @SerializedName("create_at")
            private String createAt;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getIsdel() {
                return isdel;
            }

            public void setIsdel(String isdel) {
                this.isdel = isdel;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public String getCreateAt() {
                return createAt;
            }

            public void setCreateAt(String createAt) {
                this.createAt = createAt;
            }
        }
    }
}
